package com.mojian.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author: yuzhuo
 * @date: 2025/6/6
 * @description: 邮箱注册DTO
 */
@Data
public class EmailRegisterDto {

    @ApiModelProperty(value = "邮箱")
    @NotNull(message = "邮箱不能为空")
    private String email;

    @ApiModelProperty(value = "密码")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "确认密码")
    @NotNull(message = "确认密码不能为空")
    private String confirmPassword;

    @ApiModelProperty(value = "昵称")
    @NotNull(message = "昵称不能为空")
    private String nickname;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱验证码")
    @NotNull(message = "邮箱验证码不能为空")
    private String verifyCode;

    @ApiModelProperty(value = "滑块验证码的值")
    private Integer captchaCode;

    @ApiModelProperty(value = "滑块验证码的key")
    private String captchaKey;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "邀请码")
    private String inviterCode;


    @ApiModelProperty(value = "被邀请人ID")
    private String invitedBy;

    @ApiModelProperty(value = "社交平台信息")
    private Map<String, String> socialMedia;

}
